package com.xiaoxing.paimai.mvp.api;

import com.xiaoxing.paimai.mvp.ui.entity.Login;

import io.reactivex.Observable;
import retrofit2.http.Headers;
import retrofit2.http.POST;
import retrofit2.http.Query;

/**
 * @author 小星 QQ:753940262
 * @class describe
 * @time 2018/9/19 0019 9:41
 */
public interface AppService {

    @Headers({
            "Content-Type: text/xml; charset=utf-8",
            "SOAPAction: http://tempuri.org/GetUserInfo"
    })
    @POST("http://dzaudit.xywuhe.com:80/ws/ContainerService.asmx")
    Observable<Login> login(@Query("user_login") String user_login, @Query("user_pass") String user_pass);
}
